﻿using System;

namespace SharpSqlAnalyzer.nodes
{
	// Token: 0x0200028D RID: 653
	public class TColumnDefinitionList : TParseTreeNodeList
	{
		// Token: 0x06001539 RID: 5433 RVA: 0x00325D53 File Offset: 0x00323F53
		public virtual void addColumn(TColumnDefinition columnDefinition)
		{
			base.addElement(columnDefinition);
		}

		// Token: 0x0600153A RID: 5434 RVA: 0x00325D5C File Offset: 0x00323F5C
		public virtual TColumnDefinition getColumn(int position)
		{
			if (position < base.size())
			{
				return (TColumnDefinition)this.elementAt(position);
			}
			return null;
		}

		// Token: 0x0600153B RID: 5435 RVA: 0x00325D75 File Offset: 0x00323F75
		internal override void addParseTreeNode(object arg1)
		{
			this.addColumn((TColumnDefinition)arg1);
		}

		// Token: 0x0600153C RID: 5436 RVA: 0x00325D83 File Offset: 0x00323F83
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x0600153D RID: 5437 RVA: 0x00325D94 File Offset: 0x00323F94
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			for (int i = 0; i < base.size(); i++)
			{
				this.getColumn(i).acceptChildren(v);
			}
			v.postVisit(this);
		}
	}
}
